package com.eyas.business.model.jdbcEntity.table;

import com.eyas.core.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2019/2/26 15:58
 * @Description:
 */
@Table("menuinfo")
public class MenuInfo {
    @PrimaryKey(value = "menuid",columnType = ColumnType.INT,columnSize = 8,IsNull = false,inrementType = IncrementType.AUTOINCREMENT)
    private Integer menuid;
    @Column(column = "parentid",columnType = ColumnType.INT,IsNull = true)
    private Integer parentid;
    @Column(column = "title",columnType = ColumnType.STRING,IsNull = true,columnSize = 20)
    private String title;
    @Column(column = "description",columnType = ColumnType.STRING,IsNull = true,columnSize = 200)
    private String description;
    @Column(column = "action",columnType = ColumnType.STRING,IsNull = true,columnSize = 50)
    private String action;
    @Column(column = "priority",columnType = ColumnType.INT,IsNull = true)
    private Integer priority;
    @Column(column = "validflag",columnType = ColumnType.STRING,IsNull = true,columnSize = 1)
    private String validflag;

    public Integer getMenuid() {
        return menuid;
    }

    public void setMenuid(Integer menuid) {
        this.menuid = menuid;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getValidflag() {
        return validflag;
    }

    public void setValidflag(String validflag) {
        this.validflag = validflag;
    }
}
